# fceuDroid Makefile 
# - for eclipse to auto build

all:
	ndk-build -j8
	
#V=1
#APP_OPTIM=debug NDK_DEBUG=1


clean:
	ndk-build clean
	
headers:
	javah -classpath bin ca.halsafar.gambattedroid.Emulator
	mv ca_halsafar_gambattedroid_Emulator.h ./jni/EmulatorBridge.h
	
install:
	adb install GambatteDroidRelease.apk	
	
uninstall:
	adb uninstall ca.halsafar.gambattedroid
	
zipalign:
	rm -f GENPlusDroidRelease.apk
	zipalign -v 4 GambatteDroid-unaligned.apk GambatteDroidRelease.apk
	
